package com.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.bind.annotation.RestController;

import java.util.logging.Logger;

@RestController
@SpringBootApplication
@EnableAsync   //加入@EnableAsync　异步调用
@EnableCaching
public class HomeApplication {

	//private Logger

	public static void main(String[] args) {
		SpringApplication.run(HomeApplication.class, args);
	}
}
